package com.clkj.zhonghui.dao.topic;


import com.clkj.zhonghui.pojo.topic.TopicPrise;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
 * @Author：周佳润
 * @Date：2024/7/16 下午2:28
 */
@Repository
public interface TopicPriseMapper extends Mapper<TopicPrise>, MySqlMapper<TopicPrise> {
    @Select("select count(user_id) from t_zh_topicPrise where topic_id = #{topicId}")
    void selectTopicPrise(Integer topicId);
}
